package com.yunhe.common.model.data;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

/**
 * 调度结果对象
 * @desc 调度结果对象对象定义
 * @author liuronglei
 */
public class Dispatch {
    private Long firmCode;
    private Long typeCode;
    private Long timeScaleCode;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date dtime;
    private List<StorageDispatch> storageDispatch;
    private Double runningCost;
    private Double saverReduction;

    public Long getFirmCode() {
        return firmCode;
    }

    public void setFirmCode(Long firmCode) {
        this.firmCode = firmCode;
    }

    public Long getTimeScaleCode() {
        return timeScaleCode;
    }

    public void setTimeScaleCode(Long timeScaleCode) {
        this.timeScaleCode = timeScaleCode;
    }

    public Long getTypeCode() {
        return typeCode;
    }

    public void setTypeCode(Long typeCode) {
        this.typeCode = typeCode;
    }

    public Date getDtime() {
        return dtime;
    }

    public void setDtime(Date dtime) {
        this.dtime = dtime;
    }

    public List<StorageDispatch> getStorageDispatch() {
        return storageDispatch;
    }

    public void setStorageDispatch(List<StorageDispatch> storageDispatch) {
        this.storageDispatch = storageDispatch;
    }

    public Double getRunningCost() {
        return runningCost;
    }

    public void setRunningCost(Double runningCost) {
        this.runningCost = runningCost;
    }

    public Double getSaverReduction() {
        return saverReduction;
    }

    public void setSaverReduction(Double saverReduction) {
        this.saverReduction = saverReduction;
    }
}
